<script lang="ts" setup>
import channelStore from '../store/modules/Channel';
const channels = channelStore()

</script>

<template>
  <ul class="catagtory">
    <li :class="{select:item.id === channels.curId}" @click="channels.setCurId(item.id)" v-for="item in channels.channels" :key="item.id">{{item.name}}</li>
  </ul>
</template>

<style scoed lang="less"></style>